lcRPlanGetDist | Home |
BOOL lcRPlanGetDist ( HANDLE hRPlan, double X, double Y, double* pX2, double* pY2, double* pDist, double* pOffset ); |
hRPlan | |
Handle to a road plan object. | |
X Y | |
Off-curve point. | |
pX2 pY2 | |
Pointers to variables that will receive coordinates of the found on-curve point (which is nearest to X,Y) | |
pDist | |
Pointer to variable that will receive the distance from beginning of road plan curve to found point. | |
pOffset | |
Pointer to variable that will receive the distanve from given point (X,Y) to found point (X2,Y2). |
If the function succeeds, the return value is nonzero (TRUE). |
Code sample, lcRPlanGetPoint |